perf(core): isolate document and subscription capability closures - #2199
Merged
limityan merged 1 commit intoAug 11, 2026
Merged
Conversation
limityan
force-pushed
the
yanzhn/perf-runtime-capability-closures
branch
from
August 11, 2026 01:57
8e91f3d to
125c412
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bitfun-core/agent-runtimebaseline into additive weak modifiers owned by their existing runtimesArchitecture and behavior
agent-runtimekeeps runtime lifecycle/basic owners; it no longer activates document conversion or subscription credential storageproduct-full, CLI, and ACP select the capabilities they actually require; no new product umbrella was introduceddocument-read; unavailable conversion and broken documents return explicit errors without source-byte fallbacksubscription-authis absentDependency impact
Counts are unique normal/build package-version instances after removing Cargo tree duplicate-display markers.
agent-runtimeproduct-fullCargo.lock: byte-identical tomain(51e9c22e5ed74f54d64f4ae707c5ef010d6c0940)These are dependency-graph reductions; this PR does not claim an unmeasured wall-clock improvement for
product-full.Validation
gcwing/main@734e5b05fnode --test scripts/check-core-boundaries.test.mjs(75/75)pnpm run check:core-boundariescargo test --locked -p bitfun-core -p bitfun-desktop --libpasses locally on Windowsgit diff --checkCross-platform dependency evidence uses Cargo target resolution for Windows, macOS, and Linux. The previous Windows/macOS link failures were traced to the old base CI cache omitting Sherpa native artifacts; current
maincontainsbb960f454, and this PR has no.githubdelta. Native macOS/Linux compilation remains covered by the existing CI matrix; this PR adds no new CI checks.